Can I reinstall mac os without removing open core?

I have a 2012 Mac mini I want to give away (as I just got the new M4) but I need to remove my data but I still want to keep open core fully installed is this possible?

submitted by /u/Samuelwankenobi_
[link] [comments]