public Q clone(Session session) {
        return this.clone(new DefaultSessionHolder(session));
    }
Clone the state of this query to a new instance with the given Session

@param session session
@return cloned query
querydsl-jpa/src/main/java/com/querydsl/jpa/hibernate/AbstractHibernateQuery.java