duplicate
fun duplicate(newUuid: String = UUID.randomUUID().toString(), overwrite: Boolean = true): Result<Document>
Copy document folder recursively under a new uuid, adjust JSON to newUuid and return the newly created Document. Creates a deep copy of the each page with a new unique UUIDs. This is an IO operation and is not recommended to execute in the UI thread.