As a follow-on to this question, I pose the question "would a prepared caster (wizard/cleric/druid/paladin/ranger and their derivatives) have whatever spells they did not use the previous day if they were interrupted mid-preparation?"
Alternatively, does preparing spells "clear" out the previous day's spells at the beginning of preparation then refill the spell slots they occupied with fresh spells at the end of the process, or does it "set up" the slots to be refilled and then perform the actual transfer atomically at the end? (Based on the answers to the previous question -- I can safely say that they do not have any new spells, meaning that the idea that they'd have a mix of old and new spells if they were interrupted is off the table.)