Implementing deep #equals and #hashCode for a Configuration.