Revert "added deep clone for QueryBuilder" so there is only the INSERT in this branch

This reverts commit dd794003ea5e012734d4abb140c47a0204508387.