Another important thing is to purge your brain of other people's styles. The absolute worst, most 'godawful' writing is that which is dishonest through attempting to ape a certain style or incorporate gimmicks. Good writing is just writing, just words without psychological gimmicks and shoehornery.
I'm not at all trying to argue this point, just discuss it, because I'm not sure that's even possible from my own view of the world. If we're widely read, we've probably read authors with every style that interests us. Face it, there aren't that many unique styles to begin with. Having one or more of those styles influencing our own is natural. It's very common to read an interview with a famous author where they discuss which author(s) influenced their style.
I can name three or four which influence mine, and it's not out of any desire to consciously copy their style. For my favorite author, whose entire body of work I've read since I was a kid, and my favorites several times, there is no question that some of him makes it into my writing. However, many of his books did have a little bit of business concerning meals which I include on purpose in mine as a tribute. I do the same thing with a bit from Elizabeth Peters, who occasionally has her narrator think something, then immediately repeat it in dialogue. She always manages to make it amusing, and I've done that on purpose a time or two in tribute. However, I wouldn't necessarily call either of those things 'style', so I'm digressing.
I certainly agree that a conscious attempt to 'ape a certain style' probably isn't going to turn out well, although in the right hands and with the right skill I don't see why it couldn't turn out just fine. On the other hand, the styles that naturally influence us are, I believe, endemic to authorship.