DocumentFragment cloneContents( ) throws DOMException;
A DocumentFragment object that contains a copy of the document content within this range.
If this range includes a DocumentType node, this method throws a DOMException with a code of HIERARCHY_REQUEST_ERR.
This method duplicates the contents of this range and returns the results in a DocumentFragment object.
DocumentFragment, Range.deleteContents( ), Range.extractContents( )