Disclosed is a method of freezing a body or a portion thereof. The method comprises exposing at least a part of the body to a coolant having a temperature below the freezing point of the body, and at the same time operating an electromagnetic heater, as to maintain the at least part of the body at a temperature above its freezing point; and reducing the electromagnetic heating to allow the at least a part of the body to freeze. The electromagnetic heater comprises a resonator, and the heated part of the body is heated inside the resonator.