Postgres allows the use of any existing database on the server as a template when creating a new database.
CREATE DATABASE new_db WITH TEMPLATE original_db OWNER postgres;
Still, you may get:
ERROR: source database "original_db" is being accessed by other users