@Override
    protected HibernateSQLQuery<T> clone(SessionHolder sessionHolder) {
        HibernateSQLQuery<T> q = new HibernateSQLQuery<T>(sessionHolder, configuration, getMetadata().clone());
        q.clone(this);
        return q;
    }
{@code HibernateSQLQuery} is an SQLQuery implementation that uses Hibernate's Native SQL functionality
to execute queries

@param <T> result type

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/hibernate/sql/HibernateSQLQuery.java