Tree.copy

Tree.copy(cls=None)[source]

Make an independent copy of the data object.

Parameters:
clsType[compas.data.Data], optional

The type of data object to return. Defaults to the type of the current data object.

Returns:
compas.data.Data

An independent copy of this object.