valueOf

Utility function to get IconAnchor instance from given value.