API/ENH: Detect trying to set inplace on copies in a nicer way, related (GH5597)