[BUGFIX] Allow cloning of the QueryBuilder