pub fn remove_all_groups()
Removes all groups.
Note: This does not remove structures, only the groups themselves.