Conjugately dense subgroups in generalized $FC$-groups