Backport 1.8 3788

Backport #3788: `BUG: INCREF before DECREF when copying object arrays.`