Remove Duplicate Words

Remove repeated words within each line while keeping their original order. Optionally ignore case differences.