Spontaneous magnetization of the 2D electron gas