wouldn't `a.dup` suffice?