[WIP] changes corresponding to @izaid's inplace libdynd PR