implemented deep copying for ExtendedRoles