How to delete a value from a multi-value entity reference field with EntityMetadataWrapper I have multiple values in an entity reference field.  I want to delete one of those values, but ::clear doesn't seem to work.  I basically just want to do an unset, like:

$wrapper-&gt;field_entityrefs[3]-&gt;delete();


or something clean like that.  What is the best way?
This seems to work:

$wrapper-&gt;field_entityrefs[3]-&gt;set();


Also, to test if the field is there in the first place:

$wrapper-&gt;__isset('field_entityrefs');


I'm now finding myself calling __isset() on all wrapper fields.