allow gradients stops to accept an array