"I believe some folks believe this will bring good luck but it may also tie to the old idea of leaving "something of yourself's" at a grave"
In Lexington Va. at Stonewall Jackson's Grave people regularly leave lemons. It is nothing to do with "good Luck" or leaving "something of yourself", but as a rememberance of the man's life and something he enjoyed.