clone method

Layer clone()

Clones this instance of the layer and its members.

Return Value: A new Layer with the same values as the current Layer.