fix dup method: ensure that instance variable from DelegateClass is set too