Item, new in SRD 2.0

Two-Faced Aegis Brooch

Once per rest, flip a coin. On heads, you become immune to the next physical damage you take. On tails, you become immune to the next magic damage you take.