switched to locked variant for copying TaskInventory