preserve leading whitespace when duplicate