Added DuplicateForUpdate() method, which returns Values whose SetIndex() extends arrays as needed.