Influence of spin-laser interaction on relativistic harmonic generation