Update model.js

clone & preserve original attributes and options.