Add alternative method to AbsDistinct that doesn't make use of any data structures