clone#

Layer.clone(copy_id=True)#

Create a clone of the layer.

Parameters:
copy_idbool

ID of the layer to clone.

Returns:
Layer

Layer cloned.