Not sure, I assume it would restore basically everything to factory settings so it would be assumed that the vWii is included. But don't quote me on that. W
Why do you need to format the Wii U? If you don't want certain things on your Wii U, you could just delete them manually to keep your homebrew safe.