add mask.setscalar, setvector
update docs for v3.6