Returns an enum with values equal to its keys