# clone method

TextFieldList clone()

Creates a copy of the TextFieldList object.

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

## Implementation

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