[#miniscript-Node-Clone]
= xref:miniscript.adoc[miniscript]::xref:miniscript/Node.adoc[Node]::Clone
:relfileprefix: ../../
:mrdocs:

Creates a deep copy of this node and all its subexpressions&period;

== Synopsis

Declared in `&lt;script&sol;miniscript&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:miniscript/Node.adoc[Node&lt;Key&gt;]
Clone() const;
----

== Return Value

A newly constructed copy of this node tree&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
