New clones a database driver to create a new driver with the property that
every connection created will have a query executed before it is used.
This is useful, for instance, to set connection-level variables like
max_statement_time and long_query_time.