.. hook:: H_CLONE_UIDS :arg closure value: mixed (object blueprint, string objectname) Mandatory hooks to determine the uid and euid of cloned objects. Hook settings can be any closure. When an object is cloned, the :hook:`H_CLONE_UIDS` hook is called with the blueprint object as the first argument and the clone's designated name as the second. The new object already exists, but has 0 uids. .. todo:: better markup for the literal blocks in this section For the result, the following possibilities exist ( is a non-zero number, is anything but a string):: "" -> uid = "", euid = "" ({ "", "" }) -> uid = "", euid = "" ({ "", }) -> uid = "", euid = 0 If strict-euids is not active, the following results are possible, too:: -> uid = 0, euid = 0 ({ , "" }) -> uid = 0, euid = "" ({ , }) -> uid = 0, euid = 0 .. history .. seealso:: :overview:`hook`, :concept:`uids`, :hook:`load_uids`