Greater Spell Sculpting (5e Feat)
From D&D Wiki
Greater Spell Sculpting
Prerequisites: Ability to cast a spell
You can create pockets of relative safety within the Effects of all of your spells. When you cast a spell that affects more than one creature, you can choose a number of creatures equal to 1 + your characters spell casting bonus. The chosen creatures are immune to the spells affect, automatically passing any saving throws and take no damage.