I've been using the following method to remove duplicates from Array's for quite some time, and it just dawned on me today that I have no why the syntax is the way it is, or even really how it works.
I'm particularly curious why is the unique written as @unique in the first line?
Feel free to shed anymore insight too, as I'm sure others in the forum can benefit too.