You can subtract an array from a mapping to remove keys. With automap it would then become:
mkmapping(a->name, a[*] - ({ "name" }) );
You can also apply `- if you prefer that:
mkmapping(a->name, map(a, `-, ({ "name" }) ));
Notice that -> automatically applies to all array entries without the need for a[*].