Andrew Dunham 98b15d46d9 util/slicesx: add Deduplicate/DeduplicateFunc
These functions allow deduplicating elements in a slice, either via
direct comparison or via a function that returns a key to be used for
comparison.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ie6a20acf0431247487ac5ead110d56580dacfee4
2023-05-20 19:12:20 -04:00
..
2023-03-04 12:24:55 -08:00