equals and hashcode for Cause