It'll cost you two 3rd level spells and a feat.

Clerics qualify for Versatile Spellcaster (RotD) by virtue of their spontaneous healing/inflicting/(domain if you take the ACF), and they know every spell on their list (at least as soon as they can cast it).