How to Separate and automatically add missing faces?

I’m attempting to separate out pieces of my model and would like to automate adding faces to the “previously attached” holes. How can I do this?


Mesh -> clean up -> fill holes before separating.