Tool.copy

Tool.copy(cls=None)[source]

Make an independent copy of the data object.

Parameters

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

Returns

Data – An independent copy of this object.