Don't do two copies of data on inplace operations unless it is
non-contiguous and we really need to.
Merge pull request #7 from mdboom/unit/inplace-non-contiguous

Don't do two copies of data on inplace operations unless it is non-contiguous and we really need to.