Add copy constructor for ItemQuery