cannot fixes #1310 asking the clone and json to produce value and mask wiht no luck