give thisClass as argument for __afterDuplicateClass