This is a extension for Yarhl allowing Node
and Format
cloning.
This project will be deleted if this functionality is merged into Yarhl.
Node newNode = NodeFactory.FromNode(oldNode);
Note that original node format must implement ICloneableFormat
or IBinary
. Otherwise, the clone method will throw an exception.