The new stalking offence will be introduced after a review found existing legislation was confusing.