This has broken `.subgroup(...)` rather badly, see [sage-devel](https://groups.google.com/g/sage-devel/c/OpwSERIr4aM/m/z-_6p4ZrAwAJ) e.g. with this one gets ``` sage: g=AbelianGroup([2,2]) sage: g.cardinality().factor() 2^2 sage: gg=g.subgroup(g.list()) sage: gg.cardinality().factor() 2^3 ``` _Originally posted by @dimpase in https://github.com/sagemath/sage/issues/36986#issuecomment-2036787510_