Changed `copy` to `similar` of previous fix, and added test case.