On this Page

    domObj.clone

    (Merge only) (As of 3.1.001.02)

    Make an exact copy of a DOM object and add it into the DOM.

    Syntax

    domObj.clone(placeAfter)

    Returned Value

    The new DOM object.

    Parameters

    placeAfter is optional (this feature became available in 3.1.001.10). It defines the object that the cloned object should come after. Without this parameter, the cloned object will be in the DOM right after the original object.

    Usage

    Quite rare. A simple usage is to clone fields and lines and whatnot and then move the cloned objects around or change their attributes as befits the occasion. Another usage is to clone whole pages or series of pages. You can affect copies of part of your document that way.