Snaps all keyframes to the nearest frame . If two keyframes exist for the same frame, Keys on Frame does not change them.
When you select the Keys on Frame filter in the Filters window, you can set the following parameters:
Keys on frame A. Original curve B. Keys on Frame applied