==========================================================================

SYNTAX ::   distinct_array( mixed* targets );

This sfun will take in an array of any type, filter out entries that are
duplicates and return the resulting array.

EXAMPLE ::

      distinct_array( ({ "a","a", "b", "c", "c", "c", "d" }) );

      would return

      ({ "a","b","c","d" })

