Stability of a complex polynomial set with coefficients in a diamond and generalizations