Cocooning Larvae is basically a banking system. It stores your larvae to prevent you from accidentally spending them but at the same time you can use the Clone Larvae nexus spell to duplicate them (up to your max) and then uncocoon them for spending.