Well, its a "deep" object and it doesn't currently handle cloning. However you don't have to modify the query builder, you can also set the first / max results on the query object

````php
return $this->queryBuilder->getQuery()->setMaxResults($length)->setFirstResult($offset)->execute();
````