CdmNode.dup

CdmNode dup() const pure @safe

Creates a deep copy of this node.

All children, members (including member value pointers), attributes, and comments are recursively copied. The returned node is fully independent of the original.

Returns

An independent deep copy of this node.