copyLikeDimension fast paths and special cases with elaborate unit tests
Merge pull request #236 from verma/master

copyLikeDimension fast paths and special cases with elaborate unit tests