Return a copy of this spec with encoding stored in its metadata map. Passing null removes the entry; passing a non-null value adds or replaces it, leaving all other metadata untouched.
null