結果 : typescript check duplicates in array of objects