Scalar assignment to array elements already does this. (As does all other
scalar assignment, and list assignment to hashes.) Prior to
4c8f17b905f2
(change 7867) list assignment to arrays did steal temps.
while (relem <= lastrelem) { /* gobble up all the rest */
SV **didstore;
assert(*relem);
- sv = newSVsv(*relem);
+ sv = newSV(0);
+ sv_setsv(sv, *relem);
*(relem++) = sv;
didstore = av_store(ary,i++,sv);
if (magic) {