add clone function to DB Singleton