✨ Feature Request
Motivation
At the moment, a cube where the data contains a NaN is not considered equal to itself or to another cube with the same data. Conversely, coordinates/cell measures/ancillary variables with NaNs are equal to themselves. Maybe it would be nicer, and more consistent, to introduce the same behaviour for cubes.
See #5691 (comment) for some previous discussion.