removeOptionGroup or clearOptionGroups method?

In order to work with a selection whose groups can dynamically change, one or both of these methods would be great to have. Currently, I am destroying and rebuilding the control to clear the groups....

Thanks, this is great utility!