public DownloadItem clone() { DownloadItem newItem = new DownloadItem(this.type, this.title, this.description, this.address); newItem.extras = (HashMap<String, String>) this.extras.clone(); return newItem; }