Database splitting (export:reimport), replicants>duplicates

See Copy Folder/Directory Structure without files.

It should also be possible to create empty groups from selected tags with this script. If you move them into your new database’s tags group they’ll become tags.