How to remove repeated numbers from a wave

Hello forum,

I have a wave "all_pts", it contains float numbers. I want to remove repeated values. Example is shown in image. I want to have a wave similar to "all_pts_noRepeated" , as you see in this wave, values 10.2569 and 9.5245 are removed because they are repeated.

what is the easiest way to do so?

Thank you,

expecting wave