<NME> poorsman-clone.ts
<BEF> ADDFILE
<MSG> Improve array typings and add more tests

<DFF> @@ -0,0 +1,3 @@
+export function clone<T>(obj: T): T {
+    return JSON.parse(JSON.stringify(obj));
+}

Improve array typings and add more tests