Find a function such that f'(f(x)) = x.


I found a remarkably cute solution. I don't know if it's unique, and I have no idea how to solve similar problems if we replace x with, say, ln(x), though.