[java] How to remove duplicate objects in a List<MyObject> without equals/hashcode?