## clone() {#default} Creates a deep clone of this object. ```python def clone(self): ... ``` ### Examples Shows how to update all the fields in a document immediately before saving it to PDF. ```p......DocumentBuilder(doc=doc) # Insert text with PAGE and NUMPAGES fields...builder.write('Page ') builder.insert_field(field_code='PAGE', field_value='')...