I'm not an entomologist, and since I don't know . . . it looks too much like a dragonfly nymph to me. Not a problem if you have large fish but a big problem if you have small fish (or fry). So in my ignorance, the safest thing to do seems to be taken it out (unless it is clearly smaller than any pet you have in the tank).
Good luck