Jailbreaking is completely legal. The US Supreme Court even said so. Jailbreaking can be undone by erasing your iPod Touch and reinstalling iOS on it. It is quite easy to do, and I have done it with my iPhone. As long as you back up before erasing, you won't lose any apps, videos or music.