remove_duplicates function

Remove duplicate geometries