

Implement a function deep_clone(value) that returns a deep copy of a JavaScript-style value represented in Python using dictionaries, lists, primitives, and None. The clone must recursively copy nested lists and dictionaries so that modifying the result does not affect the original. Handle cyclic references by preserving structure in the clone rather than recursing forever.
Example 1:
Input: value = {"a": 1, "b": [2, {"c": 3}]}
Output: {"a": 1, "b": [2, {"c": 3}]}
Explanation: Nested lists and dictionaries are copied into new containers.
Example 2:
Input: value = a list where value[0] is the list itself
Output: a new list where result[0] is result
Explanation: Cyclic references must be preserved in the cloned structure.
None, list, or dictionary10^4 total elements