SafetyController.copy

SafetyController.copy(cls=None)[source]

Make an independent copy of the data object.

Parameters

cls (compas.data.Data, optional) – The type of data object to return. Defaults to the type of the current data object.

Returns

compas.data.Data – A separate, but identical data object.