This might be a joke but everybody does it manually for real. Whenever I copy-paste some tricky function from SO I like to add a code comment with the url pointing to the stackoverflow.com answer. This allows future maintainers to refer back to SO and see if a better answer has surfaced or read comments about any issues.
> everybody does it manually for real I've been programming professionally for much longer than there's been a stack overflow. I have never, ever, cut and pasted code from stack overflow.
I quit not longer after that.