Issue210

See #210.
I don't know whether it's adequate to implement non-in-place this way.