Support for ASN1 ENUMERATED type. This copies and duplicates the ASN1_INTEGER