>>934
Object#itself
[1,2,3,1].group_by(&:itself)