There might be a way to turn it off but in the meantime you can press command-option-W to close all windows.
EDIT: You can disable this globally in System Preferences, or on a per-app basis by writing to the app's defaults:
defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false
There might be a way to turn it off but in the meantime you can press command-option-W to close all windows.
EDIT: You can disable this globally in System Preferences, or on a per-app basis by writing to the app's defaults: