Clone¶
Creates a clone of the document model.
1 | |
Parameters¶
boolean cloneDescendants optional
When true, clones the document's child elements as well. Defaults to false.
Returns¶
The copy of the document.
Examples¶
Create a copy of a document with its content¶
1 2 3 4 | |