On a variation of Mazur's deformation functor