implemented trait copy-and-paste including late-binding of __class__ and __method__