clone method

clone()

Performs a deep copy of the Document.

def clone(self):
    ...

Returns

The cloned document.

clone(is_clone_children)

Performs a deep copy of the Document.

def clone(self, is_clone_children: bool):
    ...
ParameterTypeDescription
is_clone_childrenbool

Returns

The cloned document.

See Also