Zaslat SMS: Shape-preserving approximation by real and complex polynomials