Returns a copy of this object.
deep is ignored since data is stored in the form of pandas.Index, which is already immutable. Dimensions, attributes and encodings are always copied.
Use data to create a new object with the same structure as original but entirely new data.
Variable) – New object with dimensions, attributes, encodings, and optionally data copied from original.