Fixed issue with  preventing  from clearing events and behaviors on clone