ensure fields are copied when cloning a spec