Implement == for Cube