Contents:
Duplicate the layer and its animation.
layer (Node) – The layer
Node
RuntimeError – if the duplication failed.