Improve Database::__destruct() and add a __clone() method too