# clone method

DocumentInfoDictionary clone()

Creates a copy of the DocumentInfoDictionary object.

return The newly created DocumentInfoDictionary object. throws DocumentException An error has occurred during Document Library execution.

## Implementation

    DocumentInfoDictionary clone() {
      DocumentInfoDictionary clone = DocumentInfoDictionary();
      var err = documentSDK.id3DocumentInfoDictionary_CopyTo(_pHandle.value, clone.handle);
      if (err != DocumentError.success.value) {
        throw DocumentException(err);
      }
      return clone;
    }