Added __clone method to the ResultSet class