Add documentation for distinct.

[ fix #52 ]