Multiinstance local task variables

I have a simple multiinstance process
MulitVarExample.bpmn (7.0 KB)
Which generates a simple array of numbers into multiinstance sub-process. Calculate task simply multiply current value by 2 and store it into variable named newItem.
I expect to to have a separate newItem variable instance for each created instance (like “item” variable). I can achieve that by setting input variable a Accept calculation task by simply assigning current value of “item” variable to new one. The problem is that new created variable is valid only for Accept calculation task which is not sufficient for me. In other words: how to define newItem variable in a sub-process scope (currently has process scope)

execution.setVariableLocal - solves my problem