func (h *hook) Clone() *hook {
	return &hook{
		tag:   h.tag,
		mutex: h.mutex,
		state: h.state,
		queue: h.queue,
		deps:   h.deps,
		effect: h.effect,
		cancel: h.cancel,
		context: h.context,
	}
}
Clone safely makes a copy of a hook for use with fiber updates
package r
import (
	"sync"
)
type hook struct {
	tag   hookTag
	mutex *sync.Mutex
	state State
	queue []Action
	deps   EffectDependencies
	effect Effect
	cancel EffectCancel
	context *Context
}
type hookTag int
const (
	hookTagNothing hookTag = iota
	hookTagState
	hookTagEffect
	hookTagReducer
	hookTagContext
)