Feature Request: SelDUP and Groups

I would live in eternal joy if the SELDUP command would take into account groups.

If one has two identical groups, SELDUP can select some objects in one group and some in another group. Deleting “duplicates” will then create two mismatched groups.