Implications of the remarkable homogeneity of galaxy groups and clusters