Implement Table.distinct. Closes #83.