JME `distinct` uses util.eq to test for duplicates

`distinct` should now work on all JME data types

fixes #347