[#BloombergLP-bdld-Datum-clone]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::clone
:relfileprefix: ../../../
:mrdocs:

Return a datum holding a &quot;deep&hyphen;copy&quot; of this object, using the specified `allocator` to supply memory&period; This method creates an independent deep&hyphen;copy of the data of this object, including any referenced data, with the exception of &lcub;User Defined Types&rcub;&period; For further information see &lcub;Deep Copying&rcub;&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdld/Datum.adoc[Datum]
clone(xref:BloombergLP/bdld/Datum/AllocatorType.adoc[AllocatorType] const& allocator) const;
----


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