Merge pull request #5680 from jreback/dup_series

BUG: Bug in repeated indexing of object with resultant non-unique index (GH5678)
API/ENH: Detect trying to set inplace on copies in a nicer way, related (GH5597)