duplicateByElement method

DOMNodeMapping<T>? duplicateByElement(
  1. T? element
)

Duplicates element in the parent children list. Also performs on mapped DOMNode.

Implementation

DOMNodeMapping<T>? duplicateByElement(T? element) =>
    duplicateByDOMNode(getMappedDOMNode(element));