cloneNode

open override fun cloneNode(): Node<T>

Creates a new Node which is a clone of the current Node. The new Node will have all the current Node's properties, such as reactions and molecules, but it will also have a different ID. Its reactions are cloned through NodeReaction.cloneOnNewNode.

Return

A new Node which is a clone of the current one.

Throws

if the implementation does not support node cloning.