Adds documentation for `distinct`