I first saw this tip on page 141 of Maggie Righetti’s Sweater Design in Plain English (New York: St. Martin’s, 1990).
It’s also on TechKnitter’s blog.
The genius of these methods is that they will survive whatever technique you use for blocking the swatch.