Function clone

Deep-copy an array of Tag or Attribute.

The top-level clones are not attached to any parent, even if the originals are.

Prototype

T[] clone(T)(
  T[] arr
)
if (is(T == Tag) || is(T == Attribute));

Authors

Copyright

License