Added deep clone to QueryBuilder
[DDC-2313] Housekeeping
Merge branch 'DDC-2313'