Implemented query._clone()