prefs: don't clone shadow prefs

(integrated from master branch change a8660f2 by Todd Whiteman <toddw@activestate.com>)