Typescript Remove Duplicates From Object To Icon