Fixed issue with  preventing ActiveQuery from clearing events and behaviors on clone