1. DomName('ShadowRoot.cloneNode')
  2. DocsEditable()
Node clone(bool deep)

Returns a copy of this node.

If deep is true, then all of this node's children and decendents are copied as well. If deep is false, then only this node is copied.

Other resources

Source

@DomName('ShadowRoot.cloneNode')
@DocsEditable()
Node clone(bool deep) => _blink.BlinkShadowRoot.instance.cloneNode_Callback_1_(this, deep);