Clones the entire contents of this database to a new database.
Remarks
The method creates a new OdDbDatabase object, populates it with objects from this database and returns a smart pointer to the new database. All objects are copied with their dependencies. For example, if a text entity uses a specific textstyle, it will be copied as well; line entities will be copied with their linestyles, etc.