copy should be an argument of the constructor, not transform. And it should be True by default.