Arbortext Command Language > Callbacks > doc_add_callback > clone Callback Type
  
clone Callback Type
Function prototype:
function funcname (doc, clone)
clone is called when the specified document is cloned by the doc_clone function to create a new document. This action can not be cancelled by this callback.
Arguments
doc is the identifier of the source document.
clone is the identifier of the newly cloned document.
A document may be cloned during some publishing processes. This callback allows an action to be taken on the cloned document before further processing is performed.