Rary's mnemonic enhancer

Rary's mnemonic enhancer was a transmutation spell that was only usable by wizards and clerics commanding the Spell domain.

It allowed one to prepare extra spells or retain one that was just cast, and was presumably developed by Rary.