Almost implement clone in chrome app