PMOS on pic. B works as commod-drain stage (aka source follower). It provides level shift to proper biasing of cascode NMOSs, the circuit should meet to condition VgsNcascode-VgsP > VovNmirror. From this condiditon the main drawback of pic.B is raised. It is less robust to PVT and input current variation than pic.A. It requeres some margin VgsNcascode-VgsP over VovNmirror so it provides less swing.