public void clearGroups() {
        List<String> before = ImmutableList.copyOf(this.groups);
        this.groups.clear();
        this.plugin.getEventDispatcher().dispatchTrackClear(this, before);
    }
Clear all of the groups within this track
common/src/main/java/me/lucko/luckperms/common/model/Track.java