Add copy method to LayoutParameter