Deduplicate mac addresses got from parameter