In my game, z-parting shot didn't work to regen the health of the pokemon switching in. Clear body should not prevent that from happening.
https://replay.pokemonshowdown.com/gen7pu-887953578
It says on bulbapedia:
If powered up by a Darkinium Z into Z-Parting Shot, if a Pokémon is switched in...