Masturbation while pregnant?

Has anyone masturbated themselves while pregnant? Is it safe to do so?