DocumentFragment safeCopy(Node node)

Returns a new DocumentFragment that contains a copy of the node after applying the rules of the Whitelist that created this Cleaner.

Source

DocumentFragment safeCopy(Node node);