[quote=Durkman]
I think that's a feature of Wizards, they can switch out spells out of combat and still cast them if they have spell slots available. Not sure if that's a 5e thing though, but it's definitely a thing here. I didn't know SH could do it as well.
In 5E both clerics and Wizards require a long rest to change out their memorized spells. Wizards can cast ritual spells as long as its in their spell book and does not require them to be memorized. Clerics have to have the spell memorized to cast it as a ritual.
BG3 house ruled it to let them change spells whenever they are out of combat.