Same way spells are transferred in literally every other instance of spell inheritance as far as I can tell