class_docstr: docstring
class_docstr_tok: ["docstring"]
code: def new(cls, element, domain):
      obj = super().__new__(cls)
      obj.element = element
      obj.domain = domain
      return obj
  
imports: from ..constructor import construct_domain
  from sympy.polys.domains import Domain, ZZ
label_desc: Use image node_id 2 for calling the DomainScalar obj's underlying member method code with example usage: obj.new(cls, element, domain) and returns: obj