support copy option on model functions