[#BloombergLP-bslstl-TreeNodePool-cloneNode] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/TreeNodePool.adoc[TreeNodePool]::cloneNode :relfileprefix: ../../../ :mrdocs: Allocate a node object and copy‐construct an object of the (template parameter) type `VALUE` having the same value as the specified `original` at the `value` attribute of the node. Return the address of the newly allocated node. The behavior is undefined unless `original` refers to a `TreeNode<VALUE>` object holding a valid (initialized) value. == Synopsis Declared in `<bslstl_treenodepool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode]* cloneNode(xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode] const& original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#