valueOf

Utility function to get ClipLayerTypes instance from given value.