## Array#duplicates

    require 'facets/array/duplicates'

Return list of duplicate elements.

    [1,1,2,3].duplicates #=> [1]

Return list of those duplicated min times.

    [1,1,2,3,2,4,5,4,2].duplicates(3) #=> [2]



