clone method
Create a copy of this declaration, mainly used on class member inheritance and function arguments passing.
Implementation
@override
HTClass clone() => HTClass(interpreter,
id: id,
classId: classId,
closure: closure != null ? closure as HTNamespace : null,
source: source,
genericTypeParameters: genericTypeParameters,
superType: superType,
withTypes: withTypes,
implementsTypes: implementsTypes,
isExternal: isExternal,
isAbstract: isAbstract,
isEnum: isEnum,
superClass: superClass);