Axis classes: fix bugs in copy() and sameAs()