Rect = { x = 0, y = 0, width = 10, height = 20, area = function(Rect) return Rect.width * Rect.height end, clone = function() o = {}; o.x = Rect.x; o.y = Rect.y; o.width = Rect.width; o.height = Rect.height; o.area = Rect.area; return o end }