function clone(element) {
	return /** @type {T} */ (HTMLElement.prototype.cloneNode.call(element));
}
Shallow clone an element, so that we can access e.g. `form.action` without worrying
that someone has added an `<input name="action">` (https://github.com/sveltejs/kit/issues/7593)
@template {HTMLElement} T
@param {T} element
@returns {T}