Backport PR #36118 on branch 1.1.x (REGR: ensure closed attribute of IntervalIndex is preserved in pickle roundtrip)
Backport PR #36118: REGR: ensure closed attribute of IntervalIndex is preserved in pickle roundtrip