Default Doing a factory reset and keeping root

I have a rooted Note 3 and was wondering is it possible to do a factory reset and keep root? I am considering selling my note so I want the phone to be completely wiped of my personal information but have it retain root as I think that will help the resale. I have not flashed roms I am still using stock but am using things like xsposed installer. Thanks.

Sent from my SAMSUNG-SM-N900A using xda app-developers app