5.114 How to remove duplicates Vectors from a list?

Converting a list of Vectors to set will not remove duplicates, as each Vector occupies different memory address, even if the structure is the same. To remove duplicate vector, use ListTools:-MakeUnique as follows

restart; 
 
my_list:=[Vector([1,0]),Vector([1,0]),Vector([2,0])]; 
convert(my_list,set); #this will still show the 3 vectors. 
 
ListTools:-MakeUnique(my_list,1,proc(a,b) LinearAlgebra:-Equal(a,b) end proc) 
 
#now only 2 vectors will remain. Duplicate one was removed